package com.stq.toutiao.config;

import cn.hutool.setting.dialect.Props;

/**
 * 头条服务接口url配置类
 *
 * @author stqsht@163.com
 * @date 2020-01-23 16:40
 */
public class TouTiaoUrlConfig {
    private static Props props;

    static {
        props = new Props("toutiao.properties");
    }

    /**
     * https://developer.toutiao.com/api/apps/token
     */
    public static final String GETACCESSTOKEN_URL = props.getStr("getAccessToken.url");
    /**
     * https://developer.toutiao.com/api/apps/jscode2session
     */
    public static final String CODE2SESSION_URL = props.getStr("code2Session.url");

    /**
     * https://developer.toutiao.com/api/apps/set_user_storage
     */
    public static final String SETUSERSTORAGE_URL = props.getStr("setUserStorage.url");
    /**
     * https://developer.toutiao.com/api/apps/remove_user_storage
     */
    public static final String REMOVEUSERSTORAGE_URL = props.getStr("removeUserStorage.url");
    /**
     * https://developer.toutiao.com/api/apps/qrcode
     */
    public static final String CREATEQRCODE_URL = props.getStr("createQRCode.url");
    /**
     * https://developer.toutiao.com/api/apps/game/template/send
     */
    public static final String SEND_URL = props.getStr("send.url");


}
